<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
</head>
<script>
/*var f2 = function (string){
	console.log(string);
};*/
//f2('王小二');
//f2('张萧山');
/*
(function(){
	console.log('函数的调用');
})();	*/

/*function f1(fn){
	console.log(12);
	fn();
}
function f2(x, y){
	console.log('函数作为参数使用');
	console.log(x+y);
}
f1(f2);*/
/*function f1(){
		//console.log(arguments.length);
		console.log(arguments);
	}
	f1(10,20,30,40,50,16);*/
/*function f1()
	{
		console.log("f1函数调用了");
		return function(){
			console.log('这是一个函数');
		};
	}

var ff =  f1();
ff();*/
function f1()
{
	console.log('f1函数1');
}

f1();
function f1()
{
	console.log('f1函数2');
} 
f1();
</script>
<body>
	
</body>
</html>